package client.com.pmoc.framework.client2.service;

import com.pmoc.framework.core.config.driver.DataClient;
import com.pmoc.framework.core.model.Entity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * DataService
 *
 * @author humdeef
 * @summary DataService
 *
 * @since 2019-05-14 11:22
 */
@Service
public class DataService {

    @Autowired
    private DataClient dataClient;

    public Boolean add(Entity entity){
        return dataClient.add(entity);
    }
}
